package com.bh.shipment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bh.shipment.domain.JcShipmentImg;

import java.util.List;

/**
 * 运单装车图片Service接口
 * 
 * @author slx
 * @date 2023-05-24
 */
public interface IJcShipmentImgService extends IService<JcShipmentImg>
{
    /**
     * 查询运单装车图片
     * 
     * @param id 运单装车图片主键
     * @return 运单装车图片
     */
    public JcShipmentImg selectJcShipmentImgById(Long id);

    /**
     * 查询运单装车图片
     *
     * @param id 运单装车图片主键
     * @return 运单装车图片
     */
    public List<JcShipmentImg> selectJcShipmentImgByShipmentId(Long jcShipmentId);

    /**
     * 查询运单装车图片列表
     * 
     * @param jcShipmentImg 运单装车图片
     * @return 运单装车图片集合
     */
    public List<JcShipmentImg> selectJcShipmentImgList(JcShipmentImg jcShipmentImg);

    /**
     * 新增运单装车图片
     * 
     * @param jcShipmentImg 运单装车图片
     * @return 结果
     */
    public int insertJcShipmentImg(JcShipmentImg jcShipmentImg);

    /**
     * 批量删除运单装车图片
     * 
     * @param ids 需要删除的运单装车图片主键集合
     * @return 结果
     */
    public int deleteJcShipmentImgByIds(Long[] ids);

    /**
     * 删除运单装车图片信息
     * 
     * @param id 运单装车图片主键
     * @return 结果
     */
    public int deleteJcShipmentImgById(Long id);
}
